#读操作
'''
def read_file(file):
    with open(file) as f:
        content = f.readlines()
    return content
r = read_file('a.text')
print(r)
'''
#写操作
def write_file(file):
    with open(file,'w') as f:
        f.write('today is a good day')
write_file("c.text")
